# @Time    :2025/3/31 14:35
class baba():
    """爸爸类"""
    home = "earth"

    def __init__(self, name, age):
        self.name = name
        self.age = age

    def eat(self):
        print("在eatting....")


class girl(baba):
    """女儿类"""
    gender = "女"


class son(baba):
    gender = "男"


b = girl("安安", 12)
print(b.age)
print(b.gender)


